package com.tgpms.web.element.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tgpms.web.element.entity.WsAccept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * 验收表
 * 
 * @author jl
 * @since 2020-07-13 11:33:18
 */
@Mapper
public interface WsAcceptDao extends BaseMapper<WsAccept> {
	
	@Update("update WS_ACCEPT set MRR=#{mrr},STATUS='T' where EQUIPMENT_CODE=#{code}")
	int updateMrrByCode(@Param("mrr")String mrr,@Param("code")String code);
}
